WPManageNinja\WPOrm\Relation\HasOneOrMany S

Total Complexity 24
Dependencies 3
Dependents 0
Total lines 139
Lines of code 83
Logical lines of code 41
Comment lines 0
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
matchOneOrMany()
S
62 3 11
addConstraints()
S
73 2 5
getRelationValue()
S
74 2 4
buildDictionary()
S
67 2 8
save()
S
71 2 6
createMany()
S
69 2 7
update()
S
71 2 6
__construct()
S
73 1 5
addEagerConstraints()
S
79 1 3
matchOne()
S
78 1 3
matchMany()
S
78 1 3
saveMany()
S
75 1 4
create()
S
68 1 8
getForeignKey()
S
82 1 3
getPlainForeignKey()
S
74 1 4
getParentKey()
S
80 1 3